package com.hejjon.core.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 基础类型表
 * @author: cs
 * @date: 2025-03-06 14:34:09
 * @since: 1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("basic_type")
@ApiModel(value="BasicType对象", description="基础类型表")
public class BasicType implements Serializable {


    @TableId("id")
    private String id;

    @TableField("name")
    private String name;

    @TableField("text")
    private String text;

    @TableField("jdbc_type_code")
    private String jdbcTypeCode;

    @TableField("category_id")
    private String categoryId;

    @TableField("description")
    private String description;

    @TableField("create_time")
    private LocalDateTime createTime;

    @TableField("create_by")
    private String createBy;

    @TableField("update_time")
    private LocalDateTime updateTime;

    @TableField("update_by")
    private String updateBy;

    /**
     * 是否删除(0未删除1已删除)
     */
    @TableField("delete_flag")
    private String deleteFlag;

}
